package com.lanyun.pojo;/**
 * @author zhy
 * @date 2021/1/6 - 13:07
 */

/**

 @ClassName Privilege
 @Description xxx
 @Author zhy
 @Date 2021/1/6 - 13:07
 @Version 1.0
 **/
public class Privilege {
    private Integer pid;//----权限id

    private String name;//----权限名

    private String desc;//----权限描述

    public Privilege() {
    }

    public Privilege(Integer pid, String name, String desc) {
        this.pid = pid;
        this.name = name;
        this.desc = desc;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Privilege{" +
                "pid=" + pid +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
